﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCLCustomerManagement.DataTransferObjects.User;

namespace NCLCustomerManagement.BusinessLogic.User
{
    public interface IUserRequestBC
    {
        IEnumerable<UserRequestDTO> GetApprovedOrRejectedSentRequests(string user);
        IEnumerable<UserRequestDTO> GetReceivedRequests(string user);
        void UpdateRequestAsViewed(int id);
        int GetUnviewedMessageCount(string user, bool isAdmin);
        void DeleteRequest(int id);
        void ApproveOrRejectRequest(int id, bool approve);
        UserRequestDTO GetRequest(int id);
    }
}
